<%@ page import="jakarta.servlet.RequestDispatcher" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/11/29 0029
  Time: 10:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>主页面</title>
</head>
<body>
主界面<br/>
<%
    String isLogin= (String)request.getSession().getAttribute("isLogin");
    if(!("ok".equals(isLogin))){
        response.sendRedirect("Login.jsp");
    }
%>
</body>
</html>
